Electronic Laboratory Reporting to CalREDIE
Setup instructions
The following describes how to set up, connect, and configure a template to use for Electronic Laboratory Reporting to CalREDIE.
Importing Templates into Anypoint Studio
- In Studio, click the Exchange X icon in the upper left of the taskbar.
- Log in with your Anypoint Platform credentials.
- Search for the template.
- Click Open.
How to run Templates in Anypoint Studio
After you import your template into Studio, use the following configuration steps to run it.
Step one: Configuring Salesforce Health Cloud
MuleSoft's Salesforce Connector requires a username, password, and optionally a security token to communicate with Salesforce. After obtaining the necessary credentials information, configure it in the properties file located in the config/properties
folder:
mule.env
– the environment where the application is to be deployed. For a studio deployment, the recommended mule.env value islocal
.salesforce.username
– should be configured in theconfig-<mule.env>.yaml
file.sfdc.authorizationurl
: Is a string with the base URL to the Salesforce web service.salesforce.password
– should be encrypted and configured in theconfig-secured-<mule.env>.yaml
file.salesforce.token
– should be encrypted and configured in theconfig-secured-<mule.env>.yaml
file.
Please refer to this article for more information on how to secure the configuration properties.
Step two: Running the Template
- Right-click the template project folder.
- Hover your mouse over 'Run as'.
- Click Mule Application (configure).
- Inside the dialog, select 'Environment' and then set the variable
mule.env
to the appropriate value (e.g., dev or local). - Inside the dialog, select 'Environment' and then set the variable
mule.key
to the property encryption key that you used to encrypt your secure properties. - Click Run.
- Once the application is started, it will be triggered by the scheduler.